fromMillis

public static Timestamp fromMillis(long milliseconds)

Creates a Timestamp from the number of milliseconds of UTC time since Unix epoch 1970-01-01T00:00:00Z.

Return

a Timestamp from the number of milliseconds of UTC time since Unix epoch

Parameters

milliseconds

the number of milliseconds of UTC time since Unix epoch 1970-01-01T00:00:00Z

Throws

when the milliseconds argument is negative